package org.gp953.order.service;

import org.gp953.basic.service.IBaseService;
import org.gp953.basic.util.PageList;
import org.gp953.order.domain.AdoptOrder;
import org.gp953.order.query.AdoptOrderQuery;
import org.gp953.pay.domain.PayBill;
import org.gp953.pet.domain.Pet;
import org.gp953.user.domain.LoginInfo;
import org.gp953.user.domain.User;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {

    String adoptPet(Map<String, Object> map, Long id);

    PageList<AdoptOrder> admin(AdoptOrderQuery query, LoginInfo loginInfo);

    PageList<AdoptOrder> user(AdoptOrderQuery query, LoginInfo loginInfo);

    AdoptOrder queryByUnionPaySn(String unionPaySn);

    void deleteQuartzJobByOrderId(Long orderId);

}
